package
{
	public class ShortPathDb
	{
		public function ShortPathDb()
		{
		}
		
		//利用32位表示起始mapid的组合式id
		public var startAndEndMapId:int;
		
		//权重
		public var weight:Number;
		
		//路径
		public var path:Vector.<int> = new Vector.<int>(); 
		
		public function clearPath():void
		{
			path.splice(0,path.length);
		}
		
		public function setPath( ... res):void
		{
			for each(var mapId:int in res)
			{
				path.push(mapId);
			}
		
		}
		
		
	}
}